package com.atguigu.lease.common.minio;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Data
@ConfigurationProperties(prefix = "minio")
//@Component
public class MinioProperties {
//    private String endpoint="http://192.168.6.100:9000";
//    private String accessKey="minioadmin";
//    private String secretKey="minioadmin";
//    private String bucketName="bbbb";
    private String endpoint;
    private String accessKey;
    private String secretKey;
    private String bucketName;
}
